<%--
  Created by IntelliJ IDEA.
  User: 吕旺平
  Date: 2019/12/3
  Time: 23:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://fentsoul.com" %>
<%@ page isELIgnored="false" %>
<html>
<head>
	<title>个人中心</title>
	<c:import url="/layout/_imports.jsp"></c:import>
</head>
<body>
<c:import url="/layout/_nav.jsp"></c:import>


<!--account-->
<div class="account">
	<c:if test="${!empty msg}">
		<div class="alert alert-danger">${msg}</div>
	</c:if>
	<div class="container">
		<div class="register">
			<f:form method="updateInfo">
				<f:input jsp_for="id"></f:input>
				<div class="register-top-grid">
					<h3>个人中心</h3>

					<h4>收货信息</h4>
					<div class="input">
							<%--<span>收货人<label></label></span>--%>
							<%--<input type="text" name="user.name" value="" placeholder="请输入收货">--%>
						<span><f:label jsp_for="name"></f:label></span>
						<f:input jsp_for="name"></f:input>
					</div>
					<div class="input">
							<%--<span>收货电话</span>--%>
							<%--<input type="text" name="user.phone" value="" placeholder="请输入收货电话">--%>
						<span><f:label jsp_for="phone"></f:label></span>
						<f:input jsp_for="phone"></f:input>
					</div>
					<div class="input">
							<%--<span>收货地址</span>--%>
							<%--<input type="text" name="user.address" value="" placeholder="请输入收货地址">--%>
						<span><f:label jsp_for="address"></f:label></span>
						<f:input jsp_for="address"></f:input>
					</div>
					<div class="register-but text-center">
						<input type="submit" value="提交">
					</div>
				</div>
			</f:form>

			<hr>

			<f:form method="updatePwd">
				<f:input jsp_for="id"></f:input>
				<h4>安全信息</h4>
				<div class="input">
						<%--<span>原密码</span>--%>
						<%--<input type="text" name="user.password" placeholder="请输入原密码">--%>
					<span><f:label jsp_for="password"></f:label></span>
					<f:input jsp_for="password"></f:input>
				</div>
				<div class="input">
						<%--<span>新密码</span>--%>
						<%--<input type="text" name="user.passwordNew" placeholder="请输入新密码">--%>
					<span><f:label jsp_for="passwordNew"></f:label></span>
					<f:input jsp_for="passwordNew"></f:input>
				</div>
				<div class="clearfix"></div>
				<div class="register-but text-center">
					<input type="submit" value="提交">
				</div>

			</f:form>

			<div class="clearfix"></div>
		</div>
	</div>
</div>
<!--//account-->

<c:import url="/layout/_footer.jsp"></c:import>
</body>
</html>
